package com.wjh.mirna.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wjh.mirna.model.Disease;
import com.wjh.mirna.model.Diseases;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface DiseasesDao {
    void insertDname(String dname);
    List<String> selectDnameByPage(Page page, @Param("disease") Diseases disease);
    void deleteDiseases();
    List<String> selectAllDname();
}
